<%#
# new.rhtml
# 
# Created on 2007-9-12, 17:15:17
# 
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>

<fieldset>
  <legend>新增类别</legend>
  <%form_for :category, :url=>{:action=>:create} do |form|%>
    <p>
      <label for="category_name" >分类名称:</label>
      <%=form.text_field :name, :size=>40 %>
    </p>
    <%=submit_tag "保存"%>
  <%end%>
</fieldset>
